"""
 -*- coding: utf-8-*-
 @File: base_config.py
 @Author: chen
 @time: 2023/07/07/ 21:22
"""
from hogwartsHomework.homework_pytest_L4.dev.calculator import Calculator
from hogwartsHomework.homework_pytest_L4.utils.log_util import logger


class BaseFunc:
    def setup_class(self):
        logger.info("测试开始".center(61, "*"))
        self.cal = Calculator()

    def teardown_class(self):
        logger.info("测试结束".center(58, "*"))

    def setup_method(self):
        logger.info("用例开始".center(60, "*"))

    def teardown_method(self):
        logger.info("用例结束".center(57, "*"))
